package com.gljx.web.service;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.InsuranceReg;
import com.gljx.web.Entity.InsuranceRegEntry;
import com.gljx.web.Entity.User;

public interface InsuranceRegService {

	Map<String, Object> selectPage(int pindex, String psql, int psize);

	Map<String, Object> selectPageCount(String psql);
	
	List<InsuranceRegEntry> selectInsuranceRegEntry(String fparentId,String carName,String carNumber);

	void editInsuranceReg(InsuranceReg insuranceReg, String[] fseq, String[] cfcarnumber, String[] cfcarid,
			String[] cftype, String[] cfbizdate, String[] cfenddate, String[] cfamount, String[] cfremark, User user,
			String time);

    void deleteInsuranceRebByFid(String fid, String[] deleteId, String[] fnumber, String fnumber2);

    InsuranceReg queryInsuranceRegByFid(String fid);

    int auditInsuranceReg(String fid, String type, String fhandlerId, List<InsuranceRegEntry> insuranceRegEntrys, String message, String state, String fnumber);

    int modifyInsuranceReg(InsuranceReg insuranceReg);

    List<InsuranceRegEntry> selectInsuranceRegByInfo(String fcompanyid, String carName, String carNumber, String beginTime, String endTime);
}
